﻿class RealisticBooks.BookImage {	public var image_title:String;	public var image_width:Number;	public var image_height:Number;	/**	 * BookImage class	 * Hold metadata information about an image	 * Parameters:	 * p_name		the name of the image	 * Example: To create image with title TestImage,	 *			var i = new BookImage("TestImage");	 */	public function BookImage(p_name) {		this.image_title = p_name;		this.image_width = 20;		this.image_height = 20;	}		public function writeImageToFile ():String  {		var txt:String = "<newimage";		txt += ' title="' +  image_title + '"></newimage>';		return txt;	}}